package com.wen.controller;

import com.wen.pojo.User;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@Controller
public class UserController {
    @PostMapping(value = "/user")
    public User user(){
        return new User();
    }
    @ApiOperation("user接口控制")
    @GetMapping("/user2")
    public User user2(){
        return new User();
    }
  

}
